#ifndef SCRIPTFUNCTIONFACTORY_H
#define SCRIPTFUNCTIONFACTORY_H

#include "qobject.h"

class ScriptEngine;
class QWidget;
class QAction;
class QAbstractListModel;

class ScriptFunctionFactory : public QObject
{
public:
   ScriptFunctionFactory( QObject *parent);

   ScriptEngine * build(QWidget *container, QAbstractListModel *mediaModel,
                        QAbstractListModel *lightModel);

private:
   QList<QAction *> createEngineActions( ScriptEngine *engine);
};

#endif // SCRIPTFUNCTIONFACTORY_H
